﻿@model AqpxFile
@{
    var aqpxFileRoot = XmlHelper.GetAppConfig("aqpxFileRoot");
}
<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
        <span aria-hidden="true">&times;</span>
    </button>
    <h4 class="modal-title">培训资料详情 - @Model.name</h4>
</div>
<div class="modal-body">
    <div class="form-body">
        <div class="gallerys">
            <table class="table table-bordered table-striped table-details">
                <tr>
                    <th style="width:120px">姓名</th>
                    <td>@Model.name</td>
                </tr>
                <tr>
                    <th>身份证号</th>
                    <td>@Model.id_number</td>
                </tr>
                <tr>
                    <th>手机</th>
                    <td>@Model.phone</td>
                </tr>
                <tr>
                    <th>资料状态</th>
                    <td>
                        @if (Model.status == 2)
                        {
                            <span class="label label-success">@Model.statusName</span>
                        }
                        else
                        {
                            <span class="label label-danger">@Model.statusName</span>
                        }
                    </td>
                </tr>
                <tr>
                    <th>行业类别</th>
                    <td>@Model.industry_category</td>
                </tr>
                <tr>
                    <th>考试时间</th>
                    <td>@DateTimeHelper.FormatDate(Model.exam_date)</td>
                </tr>
                <tr>
                    <th>审核意见</th>
                    <td>@Html.Raw(Model.remark)</td>
                </tr>
                <tr>
                    <th>支付状态</th>
                    <td>@Model.pay_msg</td>
                </tr>
                <tr>
                    <th>支付时间</th>
                    <td>@DateTimeHelper.FormatDateHasSecond(Model.pay_date_time)</td>
                </tr>

                @*<tr>
            <th>面授报名</th>
            <td>
                @if (Model.status == 1)
                {
                    <span class="label label-success">@Model.bmStatusName</span>
                }
                else
                {
                    <span class="label label-danger">@Model.bmStatusName</span>
                }
            </td>
        </tr>
        <tr>
            <th>报名时间</th>
            <td>@DateTimeHelper.FormatDateHasSecond(Model.reservation_date_time)</td>
        </tr>
        <tr>
            <th>报名培训期次</th>
            <td>@Model.plan_name</td>
        </tr>*@
                <tr>
                    <th>身份证正面</th>
                    <td>
                        @if (!string.IsNullOrEmpty(Model.file_sfz1))
                        {
                            var url = (aqpxFileRoot + Model.file_sfz1);
                            <img class="gallery-pic" onclick="$.openPhotoGallery(this)" src="@url" style="width:200px;">
                        }
                    </td>
                </tr>
                <tr>
                    <th>身份证反面</th>
                    <td>
                        @if (!string.IsNullOrEmpty(Model.file_sfz2))
                        {
                            var url = (aqpxFileRoot + Model.file_sfz2);
                            <img class="gallery-pic" onclick="$.openPhotoGallery(this)" src="@url" style="width:200px;">
                        }
                    </td>
                </tr>
                <tr>
                    <th>考核申请表</th>
                    <td>
                        @if (!string.IsNullOrEmpty(Model.file_sqb))
                        {
                            var url = (aqpxFileRoot + Model.file_sqb);
                            <img class="gallery-pic" onclick="$.openPhotoGallery(this)" src="@url" style="width:200px;">
                        }
                    </td>
                </tr>
                @*<tr>
            <th>毕业证</th>
            <td>
                @if (!string.IsNullOrEmpty(Model.file_byz))
                {
                    var url = (aqpxFileRoot + Model.file_byz);
                    <img class="gallery-pic" onclick="$.openPhotoGallery(this)" src="@url" style="width:200px;">
                }
            </td>
        </tr>*@
                <tr>
                    <th>劳动合同</th>
                    <td>
                        @if (!string.IsNullOrEmpty(Model.file_ldht))
                        {
                            var url = (aqpxFileRoot + Model.file_ldht);
                            <img class="gallery-pic" onclick="$.openPhotoGallery(this)" src="@url" style="width:200px;">
                        }
                    </td>
                </tr>
                <tr>
                    <th>企业营业执照</th>
                    <td>
                        @if (!string.IsNullOrEmpty(Model.file_yyzz))
                        {
                            var url = (aqpxFileRoot + Model.file_yyzz);
                            <img class="gallery-pic" onclick="$.openPhotoGallery(this)" src="@url" style="width:200px;">
                        }
                    </td>
                </tr>
            </table>
        </div>
    </div>
</div>
<div class="modal-footer">
    <button type="button" class="btn btn-default" data-dismiss="modal">
        <i class="fa fa-sign-in"></i> 关闭
    </button>
</div>